import Home from '../pages/index/index';
import Login from '../pages/login/login';
import Device from "../pages/device/index";
import Operate from "../pages/operate/index";
import Temperature from "../pages/temperature/index";
import {product} from '../constant/product';

export const routes = [
    {
        title: '登录',
        path: '/login',
        component: Login
    },
    {
        title: '首页',
        path: '/',
        component: Home
    },
    {
        title: '设备',
        path: '/device/:status/:id',
        component: Device
    },
    {
        title: '设备',
        path: '/operate/:status/:id',
        component: Operate
    },
    {
        title: '温度控制',
        path: '/temperature',
        component: Temperature
    },
    ...product
];
